package pri.lt;

/**
 * @Author LHR
 * Create By 2017/8/19
 */
public class Constants {

    public static final String DATE_FORMAT = "yyyy-MM-dd";
    public static final String DATETIME_FORMAT = "yyyy-MM-dd HH:mm:ss";



    public static final String LATEST_POSTS_KEY = "LATEST_POSTS_KEY";
    public static final int LATEST_POSTS_SIZE = 200;

    public static final String BBS_HOST = "http://192.168.199.142:8081";

    public static final String BBS_REPLY_URL = BBS_HOST + "/reply";
    public static final String BBS_POST_URL = BBS_HOST + "/posts";
    public static final String BBS_LOGIN_URL = BBS_HOST + "/user/login";
    public static final String BBS_LABEL_URL = BBS_HOST + "/label/byName";
    public static final String BBS_ALL_LABEL_URL = BBS_HOST + "/label";


    public static final String BBS_ADMIN_HOST = "http://192.168.199.142:8080";
    public static final String BBS_LABEL_ADD = BBS_ADMIN_HOST + "/labels/add";
    public static final String BBS_ADMIN_LOGIN = BBS_ADMIN_HOST + "/login";
    public static final String BBS_ADMIN_LABEL_UPDATE_HOT_CONTENT = BBS_ADMIN_HOST + "/labels/update/HotContent/";

}
